{% extends "base.html" %} {% block title %}{{ article.title }} -
运动健康管理系统{% endblock %} {% block content %}
<div class="container py-5">
  <nav aria-label="breadcrumb">
    <ol class="breadcrumb">
      <li class="breadcrumb-item">
        <a href="{{ url_for('health_knowledge') }}">健康知识</a>
      </li>
      <li class="breadcrumb-item active" aria-current="page">
        {{ article.title }}
      </li>
    </ol>
  </nav>

  <div class="card shadow">
    <div class="card-body p-4">
      <h1 class="card-title">{{ article.title }}</h1>
      <p class="text-muted">
        <small
          >发布于: {{ article.created_at.strftime('%Y-%m-%d %H:%M') }} | 浏览:
          {{ article.view_count }}</small
        >
      </p>

      <hr />

      <div class="article-content">{{ article.content|safe }}</div>
    </div>
  </div>
</div>
{% endblock %}
